import UIKit

//
@available(iOS 8.0, *)
extension QKC where AA :UIDocumentPickerExtensionViewController {
	// only valid after prepareForDocumentSelectionInMode: has been called
    open func documentPickerMode_qk_g() -> QKC<AA,YY,ZZ, UIDocumentPickerMode >{
		 self +^ self.value.documentPickerMode
	}

	// Contains the URL to duplicate if in mode UIDocumentPickerModeExportToService. nil otherwise.
    open func originalURL_qk_g() -> QKC<AA,YY,ZZ, URL? >{
		 self +^ self.value.originalURL
	}

	// Contains the list of valid types if in mode UIDocumentPickerModeImport or UIDocumentPickerModeOpen. nil otherwise.
    open func validTypes_qk_g() -> QKC<AA,YY,ZZ, [String]? >{
		 self +^ self.value.validTypes
	}

	// in the non-UI component. Otherwise, they will return the values corresponding to the default implementation of a non-UI picker.
    open func providerIdentifier_qk_g() -> QKC<AA,YY,ZZ, String >{
		 self +^ self.value.providerIdentifier
	}

    open func documentStorageURL_qk_g() -> QKC<AA,YY,ZZ, URL? >{
		 self +^ self.value.documentStorageURL
	}

	// In Export mode, the URL needs to be below the documentStorageURL and should point to a duplicate of the object at originalURL.
    open func dismissGrantingAccess_qk_f(to url: URL?) -> QKC<AA,YY,ZZ, URL?>{
		 self +^ self.value.dismissGrantingAccess(to:url) +^ url
	}

    open func prepareForPresentation_qk_f(in mode: UIDocumentPickerMode) -> QKC<AA,YY,ZZ, UIDocumentPickerMode>{
		 self +^ self.value.prepareForPresentation(in:mode) +^ mode
	}

}

